<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<div class="page pull-left">
  <ul class="pagination">
    <li>共${pageInfo.total}条数据</li>
    <li>&nbsp;&nbsp;</li>
    <li>共${pageInfo.pages}页</li>
  </ul>
</div>
<div class="page pull-right">
  <!-- 分页插件 -->
  <ul class="pagination">


    <c:if test="${pageInfo.hasPreviousPage}">
      <li class="disabled">
        <a href="${requestUrl}&pageNum=${pageInfo.prePage}">
          <i class="icon-double-angle-left"></i>
        </a>
      </li>
    </c:if>

    <c:forEach items="${pageInfo.navigatepageNums}" var="num">
      <li<c:if test="${pageInfo.pageNum == num}"> class="active"</c:if>>
        <a <c:if test="${pageInfo.pageNum != num}"> href="${requestUrl}&pageNum=${num}" </c:if>>${num}</a>
      </li>
    </c:forEach>
    <c:if test="${pageInfo.hasNextPage}">
      <li class="disabled">
        <a href="${requestUrl}&pageNum=${pageInfo.nextPage}">
          <i class="icon-double-angle-right"></i>
        </a>
      </li>
    </c:if>
  </ul>
</div>